package cn.exrick.xboot.modules.transport.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "订单表 vo实体")
public class OrdersOutlineVo {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "订单编号")
    private String orderNumber;

    @ApiModelProperty(value = "订单状态")
    private String status;

    @ApiModelProperty(value = "订单起运地区")
    private Long originRegionId;

    @ApiModelProperty(value = "订单起运地区名称")
    private String originRegionName;

    @ApiModelProperty(value = "订单目的地地区")
    private Long destinationRegionId;

    @ApiModelProperty(value = "订单目的地地区名称")
    private String destinationRegionName;

    @ApiModelProperty(value = "发单人姓名")
    private String senderName;

    @ApiModelProperty(value = "发单人手机号")
    private String senderPhone;

    @ApiModelProperty(value = "收货人姓名")
    private String receiverName;

    @ApiModelProperty(value = "收货人手机号码")
    private String receiverPhone;

    @ApiModelProperty(value = "发单人头像")
    private String receiverAvatar;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "订单总金额")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "线路总金额")
    private BigDecimal routeAmount;

    @ApiModelProperty(value = "保险金额")
    private BigDecimal insuranceAmount;

    @ApiModelProperty(value = "优惠金额")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "订单数量")
    private Integer quantity;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

}